package com.wing.enterprise.product.model.response;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * @version 1.1.0
 * @Author hz
 * @Date 2024-12-05 16:42
 **/
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class OrderSkuDetailSearchVo {
    //成品订单主键id
    private Long id;
    //物料id
    private Long productDetailId;
    //仓库类型id
    private Long warehouseTypeId;
    //剩余个数
    private BigDecimal selRemainQuality;
    //数量
    private Long quantity;
    //仓库id
    private Long warehouseId;
    //物料code
    private String skuCode;
    //物料名称
    private String skuName;
    //物料规格
    private String skuSpec;
    //类型
    private Long productTypeId;
    private String productTypeName;
    //主换算率
    private String  mainUnitRate;
    //主单位id
    private Long  mainUnitId;
    private String  mainUnitName;

    //基本(最小单位)Id
    private Long baseUnitId;
    private String baseUnitName;

    //价格
    private BigDecimal currentCostPrice;
    //库存
    private BigDecimal haveQuantity;
    //客户产品名字(仅有生产订单有)
    private String cusProductCode;

    private String assemblyNatureName;
    private String materialNatureName;
    private String productNatureName;
    /**
     * 已排产数量
     */
    private Integer pcQuality;
}
